home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970929-19971216
/
000320_news@newsmaster….columbia.edu _Tue Nov 25 05:26:18 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-15
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA11556
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 25 Nov 1997 05:26:17 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id FAA29162
for kermit.misc@watsun; Tue, 25 Nov 1997 05:26:16 -0500 (EST)
Path: news.columbia.edu!news.new-york.net!solaris.cc.vt.edu!newsgate.duke.edu!nntprelay.mathworks.com!newsfeed.internetmci.com!207.5.0.44!nntp.mainstreet.net!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!dold.a2i!dold
From: dold@94.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Help with scripting kermit
Date: 25 Nov 1997 00:31:51 GMT
Organization: a2i network
Lines: 71
Message-ID: <65d69n$9hh$1@samba.rahul.net>
References: <64j0bn$7s9$1@clem.mscd.edu> <0$k2Rz1fk$EP@cc.usu.edu> <651tbe$4es$1@samba.rahul.net> <652qra$le$1@apakabar.cc.columbia.edu>
Reply-To: dold@network.rahul.net
NNTP-Posting-Host: foxtrot.rahul.net
NNTP-Posting-User: dold
X-Newsreader: TIN [version 1.2 PL2]
X-Comment: Encoded From: line allows replies that preserve original subject
Xref: news.columbia.edu comp.protocols.kermit.misc:8109
Clarence said:
: : If I lower either the output pacing, or reduce the pause to 1, the switch
: : can't keep up. If I reduce the pause, even with the INPUT in place, the
: : commands get garbled. If I reduce the output pacing, occasional characters
: : get dropped.
Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
: Well, those 2-second pauses probably add up to quite a long period in a
: 14000-line script (1400 x 2 = 2800 seconds???).
Yup. I think it took 36 hours to run the script. Not handy, but it beats
the transcription errors of doing it by hand ;-)
: Did you know that you don't have to pause for whole seconds? There is
: also an MPAUSE command (alias MSLEEP) that takes milliseconds, e.g.:
: msleep 1500
snicker. I suppose shaving by a half second might be happy if I did
this daily, but the failure isn't consistent. I suppose it depends
on the load on the host system, which is why flow control would be
better.
: : I can't remember where I found the description for "output pacing". I
: : can't find it in the Using C-Kermit manual.
: Page 422.
Wrong version, I guess. Pg 422 of mine is the middle of some OS/2 stuff in
Appendix V.
: : In Unix, the cu dialer has a feature called "echo check", where each
: : character is held until the previous character has been echoed back
: : correctly. Is such a pacing option available in C-Kermit?
: Not built into the OUTPUT command. But of course you can do it yourself:
: output blah\13
: input 10 blah ; soak up the echo
: if fail <do something>
That might put me up to 100,000 lines of script, but if it works, and the
speedup is substantial, I'd do it.
Wait a minute... blah\13 isn't what I'm after.
Instead of
output 12345\13
input 20 ACP
what I need is a loop of
output 1
input 10 1
output 2
input 10 2
output 3
input 10 3
output 4
input 10 4
output 5
input 10 5
output \13
input 10 \13
Maybe the use of ESIX SVR4, and an Equinox multi-port serial adapter is
conspiring against me. I had assumed it was the slow legacy system...
Maybe I should try an MS-Kermit script against the telephone switch
directly from some handy PC.
I have another pretty large script coming up soon.
--
---
Clarence A Dold - dold@network.rahul.net
- Pope Valley & Napa CA.